using System;
using System.Data;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using Commons;

namespace Business.Entities
{
    [DbTable(Name = "upfiles")]
    [Serializable]
    public class Upfile
    {
        private long fileno;

        [DbColumn(ColumnID = "fileno", IsKey = true, IsIdentity = true )]
        public long Fileno
        {
            get { return fileno; }
            set { this.fileno = value; }
        }

        private string orginfilename;

        [DbColumn(ColumnID = "orginfilename", IsKey = false, IsIdentity = false )]
        public string Orginfilename
        {
            get { return orginfilename; }
            set { this.orginfilename = value; }
        }

        private string newname;

        [DbColumn(ColumnID = "newname", IsKey = false, IsIdentity = false )]
        public string Newname
        {
            get { return newname; }
            set { this.newname = value; }
        }

        private string savepath;

        [DbColumn(ColumnID = "savepath", IsKey = false, IsIdentity = false )]
        public string Savepath
        {
            get { return savepath; }
            set { this.savepath = value; }
        }

        private string description;

        [DbColumn(ColumnID = "description", IsKey = false, IsIdentity = false )]
        public string Description
        {
            get { return description; }
            set { this.description = value; }
        }

        private string regdate;

        [DbColumn(ColumnID = "regdate", IsKey = false, IsIdentity = false )]
        public string Regdate
        {
            get { return regdate; }
            set { this.regdate = value; }
        }

    }
}
